﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F75 RID: 3957
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicSettleCsReq : IMessage<RogueMagicSettleCsReq>, IMessage, IEquatable<RogueMagicSettleCsReq>, IDeepCloneable<RogueMagicSettleCsReq>, IBufferMessage
	{
		// Token: 0x1700322F RID: 12847
		// (get) Token: 0x0600B157 RID: 45399 RVA: 0x001DF443 File Offset: 0x001DD643
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicSettleCsReq> Parser
		{
			get
			{
				return RogueMagicSettleCsReq._parser;
			}
		}

		// Token: 0x17003230 RID: 12848
		// (get) Token: 0x0600B158 RID: 45400 RVA: 0x001DF44A File Offset: 0x001DD64A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicSettleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003231 RID: 12849
		// (get) Token: 0x0600B159 RID: 45401 RVA: 0x001DF45C File Offset: 0x001DD65C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicSettleCsReq.Descriptor;
			}
		}

		// Token: 0x0600B15A RID: 45402 RVA: 0x001DF463 File Offset: 0x001DD663
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleCsReq()
		{
		}

		// Token: 0x0600B15B RID: 45403 RVA: 0x001DF46B File Offset: 0x001DD66B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleCsReq(RogueMagicSettleCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B15C RID: 45404 RVA: 0x001DF484 File Offset: 0x001DD684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicSettleCsReq Clone()
		{
			return new RogueMagicSettleCsReq(this);
		}

		// Token: 0x0600B15D RID: 45405 RVA: 0x001DF48C File Offset: 0x001DD68C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicSettleCsReq);
		}

		// Token: 0x0600B15E RID: 45406 RVA: 0x001DF49A File Offset: 0x001DD69A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicSettleCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600B15F RID: 45407 RVA: 0x001DF4B8 File Offset: 0x001DD6B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B160 RID: 45408 RVA: 0x001DF4DE File Offset: 0x001DD6DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B161 RID: 45409 RVA: 0x001DF4E6 File Offset: 0x001DD6E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B162 RID: 45410 RVA: 0x001DF4EF File Offset: 0x001DD6EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B163 RID: 45411 RVA: 0x001DF508 File Offset: 0x001DD708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B164 RID: 45412 RVA: 0x001DF52E File Offset: 0x001DD72E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicSettleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B165 RID: 45413 RVA: 0x001DF54B File Offset: 0x001DD74B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B166 RID: 45414 RVA: 0x001DF554 File Offset: 0x001DD754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040047C6 RID: 18374
		private static readonly MessageParser<RogueMagicSettleCsReq> _parser = new MessageParser<RogueMagicSettleCsReq>(() => new RogueMagicSettleCsReq());

		// Token: 0x040047C7 RID: 18375
		private UnknownFieldSet _unknownFields;
	}
}
